package com.asktgapp.eventbus;

import org.greenrobot.eventbus.EventBus;

/**
 *
 */

public class BigImageEvent {

    private String imageUrl;

    public BigImageEvent(String imageUrl) {
        this.imageUrl = imageUrl;
    }


    public String getImageUrl() {
        return imageUrl == null ? "" : imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public static void postEvent(String imageUrl) {
        EventBus.getDefault().post(new BigImageEvent(imageUrl));
    }
}
